/* src/css/index.css */

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* 顶部装饰条 */
  .top {
    height: 4px;
    background: linear-gradient(90deg, #1890ff, #52c41a);
  }
  
  /* 布局容器 */
  .ant-layout {
    background: #f0f2f5;
  }
  
  /* 头部样式 */
  .admin-header {
    background: #fff !important;
    padding: 0 24px !important;
    height: 64px;
    line-height: 64px;
    box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
    position: relative;
    z-index: 1;
  }
  
  .admin-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .admin-header h1 {
    color: rgba(0, 0, 0, 0.85);
    font-size: 20px;
    margin: 0;
  }
  
  .admin-info {
    display: flex;
    align-items: center;
  }
  
  .admin-info span {
    margin-left: 8px;
    color: rgba(0, 0, 0, 0.65);
  }
  
  /* 侧边栏样式 */
  .ant-layout-sider {
    background: #fff !important;
    box-shadow: 2px 0 8px 0 rgba(29, 35, 41, 0.05);
  }
  
  .ant-menu-inline {
    border-right: none !important;
  }
  
  .ant-menu-item {
    margin: 4px 0 !important;
    width: calc(100% - 8px) !important;
    border-radius: 4px;
  }
  
  .ant-menu-item-selected {
    background-color: #e6f7ff !important;
  }
  
  /* 内容区域样式 */
  .ant-layout-content {
    padding: 24px;
    margin: 0;
    min-height: calc(100vh - 64px);
  }
  
  /* 仪表板卡片样式 */
  .dashboard-card {
    margin-bottom: 24px;
    border-radius: 8px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  }
  
  .dashboard-card .ant-card-head {
    border-bottom: none;
  }
  
  .dashboard-card .ant-card-body {
    padding: 24px;
  }
  
  /* 统计数字样式 */
  .stat-number {
    font-size: 28px;
    font-weight: 600;
    color: #1890ff;
    margin: 8px 0;
  }
  
  .stat-unit {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.45);
    margin-left: 4px;
  }
  
  /* 待办事项样式 */
  .todo-list {
    margin-top: 16px;
  }
  
  .todo-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
  }
  
  /* 响应式调整 */
  @media (max-width: 768px) {
    .ant-layout-sider {
      width: 100% !important;
      max-width: 100% !important;
      min-width: 100% !important;
    }
    
    .admin-header-content {
      padding: 0 12px;
    }
  }